﻿.ui-red {
    color: red !important;
    fill: red !important;
}


/* 上传控件样式 begin */

.xuploadcontainer {
    margin-top: 5px;
    border-top: 1px dotted #ccc;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
}

.xupload {
    position: relative;
    display: inline-block;
    padding: 3px;
    border: 1px solid #bbb;
    margin: 2px;
    height: 100px;
}

    .xupload > span:first-child {
        position: relative;
        cursor: pointer;
        overflow: hidden;
        line-height: 100px;
        width: 100px;
        text-align: center;
        display: inline-block;
    }

    .xupload > span > a {
        display: inline-block;
        width: 100%;
        height: 100%;
        text-shadow: none !important;
        color: #0d638f;
        background: transparent;
        text-decoration: none;
    }

    .xupload > span > input {
        display: inline-block;
        width: 100%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }

.xupload-file {
    position: relative;
    display: inline-block;
    padding: 3px;
    border: 1px solid #bbb;
    margin: 2px;
    height: 100px;
}

    .xupload-file .remove {
        position: absolute;
        color: red;
        right: 2px;
        top: 2px;
        background: white;
        cursor: pointer;
        display: none;
        font-size: 16px;
        width: 1em;
        height: 1em;
    }

    .xupload-file:hover .remove {
        display: block;
    }

    .xupload-file img {
        height: 100px;
    }

    .xupload-file .name {
        width: 100px;
        height: 102px;
        display: inline-block;
        vertical-align: text-bottom;
        text-decoration: none;
    }

        .xupload-file .name > span {
            word-break: break-all;
            line-height: 20px;
            display: block;
            overflow: hidden;
            padding-top: 27px;
        }

/* 上传控件样式 end */

/* 多选控件样式 begin */

input.xmultiselect + span.arrow {
    position: relative;
    right: 26px;
    top: -3px;
    height: 30px;
    width: 25px;
    display: inline-block;
    text-align: center;
}

div.xmultipanel {
    display: none;
    border: 1px solid #48A3FF;
    position: fixed;
    background: white;
    z-index: 1200;
    max-height: 300px;
    overflow-y: scroll;
    font-size: 12px;
    padding-bottom: 5px;
}

.xmultipanel ul {
    margin: 0;
    padding: 0;
    margin-left: 18px;
    list-style-type: none;
}

.xmultipanel > span.xcheckall, .xmultipanel li > span {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    width: 100%;
}

    .xmultipanel li > span:hover {
        background: #89c7fa;
    }

    .xmultipanel li > span.xselected {
        background: #39a7ff !important;
    }

.xmultipanel input + label {
    vertical-align: top;
}

.xmultipanel span.xce {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    vertical-align: text-bottom;
}

.xmultipanel .xcount {
    color: darkblue;
}

/* 多选控件样式 end */


/* 复选按钮和单选按钮样式 begin */
label.checkbox, label.radio {
    line-height: 25px;
    color: #404040;
    cursor: pointer;
    font-size: 13px;
    display: inline-block;
}

    label.checkbox input[type=checkbox], label.radio input[type=radio] {
        width: 0;
        margin: 0;
        padding: 0;
    }

        label.checkbox input[type=checkbox] + i, label.radio input[type=radio] + i {
            width: 16px;
            height: 16px;
            margin: 0 5px;
            display: inline-block;
            vertical-align: sub;
        }

        label.checkbox input[type=checkbox] + i {
            background: url("../../images/checkbox.png") 0 0 no-repeat;
        }

        label.checkbox input[type=checkbox]:checked + i {
            background: url("../../images/checkbox.png") -16px 0 no-repeat !important;
        }

        label.checkbox input[type=checkbox]:disabled + i {
            background: url("../../images/checkbox.png") -32px 0 no-repeat !important;
        }

        label.checkbox input[type=checkbox]:checked:disabled + i {
            background: url("../../images/checkbox.png") -48px 0 no-repeat !important;
        }

        label.radio input[type=radio] + i {
            background: url("../../images/radio.png") 0 0 no-repeat;
        }

        label.radio input[type=radio]:checked + i {
            background: url("../../images/radio.png") -16px 0 no-repeat !important;
        }

        label.radio input[type=radio]:disabled + i {
            background: url("../../images/radio.png") -32px 0 no-repeat !important;
        }

        label.radio input[type=radio]:checked:disabled + i {
            background: url("../../images/radio.png") -48px 0 no-repeat !important;
        }
/* 复选按钮单选按钮样式 end */

/* 弹出框底部样式 begin */


.k-window-footer {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 40px;
    padding: 0;
    white-space: nowrap;
    min-height: 16px;
    border-radius: 0 0 4px 4px;
    border-top: 1px solid;
}

    .k-window-footer .k-window-button {
        text-align: right;
        padding: 5px 10px;
    }

.k-window-button .k-button {
    line-height: 17px;
    font-size: 12px;
    margin-left: 5px;
}
/* 弹出框底部样式 end */

